package com.an.pay.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.an.pay.entity.OrderInfo;

import java.util.List;
import java.util.Map;

public interface OrderInfoService extends IService<OrderInfo> {
    Map<String, String> pay(Long productId,String payType) throws Exception;

    String getOrderStatus(String orderNo);

    List<OrderInfo> getNoPayOrderByDuration(int i, String type);
}
